package game;

/**
 * @author Sarun Wongtanakarn 5510546166
 * @author Apiwat Jierakulpanit 5510546212
 * @Version 2013.05.01
 */
public class Food {

	/** The score of this food. */
	private int score;
	/** The point of this food. */
	private Point point;

	/**
	 * Creates a food with giving point and score.
	 * @param point the point for reference
	 * @param score the score for initialize
	 */
	public Food(Point point, int score) {
		this.point = point;
		this.score = score;
	}

	/**
	 * Returns the score of this food.
	 * @return score
	 */
	public int getScore() {
		return score;
	}

	/**
	 * Returns the point of this food.
	 * @return point
	 */
	public Point getPoint() {
		return point;
	}

	/**
	 * Sets the point of this food.
	 * @param point the point for setting
	 */
	public void setPoint(Point point) {
		this.point = point;
	}
}
